SQLDelete

 

SQLDelete 함수는 설정한 자료를 삭제하는 SQL 함수이다.

 

void @SQLDelete(int id, string tablename, string where);

 

함수인자

int id : 접속한 연결 번호

string tablename : 테이블명

string where : where 문자열

 

반환 값

없음

 

예제

@sprintf(buf, "ID=%d", $AddrNum);

@SQLDelete($AddrID, "Table1", buf);

문장설명 : 연결된 데이터 베이스, Table1 테이블의 데이터 ID 로 설정한 자료를 삭제한다.

 

참조

SQLConnect()

SQLCreateTable()

SQLDisconnect()

SQLExecute()

SQLFirst()

SQLGetPos()

SQLInsert()

SQLLast()

SQLNext()

SQLPrepare()

SQLPrev()

SQLSelect()

SQLSetPos()

SQLUpdate()